﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GtsServer.Model
{
    public class FuncPrizeParms
    {
        public FuncPrizeParms()
        { }
        #region Model
        private int _id;
        private string _name;
        private int? _prizeid;
        private int? _eventmouldid;
        private int? _gainprizeid;
        private int? _maxvalue;
        private int? _minvalue;
        private int? _floatratio;
        private int? _placetime;
        private int? _placeprizeid;
        private int? _param1;
        private int? _param2;
        private int? _funcChance;
        private int? _funcDayAstrict;

        public int? FuncDayAstrict
        {
            get { return _funcDayAstrict; }
            set { _funcDayAstrict = value; }
        }

        public int? FuncChance
        {
            get { return _funcChance; }
            set { _funcChance = value; }
        }
        /// <summary>
        /// 功能性道具id
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 功能性道具id（该表是该道具的参数）
        /// </summary>
        public int? PrizeID
        {
            set { _prizeid = value; }
            get { return _prizeid; }
        }
        /// <summary>
        /// 事件模板id （eventchancemould中TypeName为'lucky_pic','start'）
        /// </summary>
        public int? EventMouldID
        {
            set { _eventmouldid = value; }
            get { return _eventmouldid; }
        }
        /// <summary>
        /// 后台配置的所要获取的道具id
        /// </summary>
        public int? GainPrizeID
        {
            set { _gainprizeid = value; }
            get { return _gainprizeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? MaxValue
        {
            set { _maxvalue = value; }
            get { return _maxvalue; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? MinValue
        {
            set { _minvalue = value; }
            get { return _minvalue; }
        }
        /// <summary>
        /// 浮动比
        /// </summary>
        public int? FloatRatio
        {
            set { _floatratio = value; }
            get { return _floatratio; }
        }
        /// <summary>
        /// 时间限制（单位：秒）
        /// </summary>
        public int? PlaceTime
        {
            set { _placetime = value; }
            get { return _placetime; }
        }
        /// <summary>
        /// 限时增强道具类型id（1：额外金币 2：比赛积分加成3：小图案倍率 4：额外彩蛋）
        /// </summary>
        public int? PlacePrizeID
        {
            set { _placeprizeid = value; }
            get { return _placeprizeid; }
        }
        /// <summary>
        /// 限时增强道具 参数1
        /// </summary>
        public int? Param1
        {
            set { _param1 = value; }
            get { return _param1; }
        }
        /// <summary>
        /// 限时增强道具参数2
        /// </summary>
        public int? Param2
        {
            set { _param2 = value; }
            get { return _param2; }
        }
        #endregion Model
    }

    public class FuncPrizeParmsShow : FuncPrizeParms
    {
        private string _placePrizeName;
        private string _eventMouldName;
        private string _gainPrizeName;

        public string GainPrizeName
        {
            get { return _gainPrizeName; }
            set { _gainPrizeName = value; }
        }

        public string EventMouldName
        {
            get { return _eventMouldName; }
            set { _eventMouldName = value; }
        }

        public string PlacePrizeName
        {
            get { return _placePrizeName; }
            set { _placePrizeName = value; }
        }


    }
}
